{template 'header', $module}
<div class="menu">
<table cellpadding="0" cellspacing="0">
<tr>
<td class="tab_on"><a href="?action=index"><span>帐户详情</span></a></td>
<td class="tab"><a href="edit.php"><span>修改资料</span></a></td>
</tr>
</table>
</div>
<table cellspacing="1" cellpadding="10" class="tb">
{if $user[truename]}
<tr>
<td class="tl">姓名</td>
<td class="tr">{$user[truename]} （{if $user[gender]==1}先生{else}女士{/if}）</td>
</tr>
{/if}

{if $_groupid > 5}
<tr>
<td class="tl">公司名称</td>
<td class="tr">
{if $MG[homepage]}
<a href="{$linkurl}" target="_blank" class="l">{$company}</a>
{else}
{$company}
{/if}
</td>
</tr>
{/if}
{if $support}
<tr>
<td class="tl">客服专员</td>
<td class="tr"><img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/support.gif" align="absmiddle"/><a href="support.php" class="l">点击联系</a></td>
</tr>
{/if}
<tr>
<td class="tl">会员名</td>
<td class="tr">{$username}</td>
</tr>
<tr>
<td class="tl">昵称</td>
<td class="tr">{$passport}</td>
</tr>
<tr>
<td class="tl">会员组</td>
<td class="tr">{$MG[groupname]}</td>
</tr>
<tr>
<td class="tl">会员ID</td>
<td class="tr">{$userid}</td>
</tr>
<tr>
<td class="tl">上次登录</td>
<td class="tr">{timetodate($logintime, 5)}{if $DT[login_log]==2}&nbsp;&nbsp;<a href="record.php?action=login" class="l">登录记录</a>{/if}</td>
</tr>
<tr>
<td class="tl">注册时间</td>
<td class="tr">{timetodate($regtime, 5)}</td>
</tr>
{if $vip}
<tr>
<td class="tl">{VIP}级别</td>
<td class="tr"><a href="vip.php"><img src="{DT_SKIN}image/vip_{$vip}.gif" alt="{VIP}" title="{VIP}:{$vip}级"/></a></td>
</tr>
<tr>
<td class="tl">服务时段</td>
<td class="tr">{timetodate($fromtime, 3)} 至 {timetodate($totime, 3)}</td>
</tr>
<tr>
<td class="tl">剩余时间</td>
<td class="tr"><strong>{$havedays}</strong> 天&nbsp;&nbsp;<a href="vip.php?action=renew" class="l">续费</a></td>
</tr>
{elseif $groupid>4}
<tr>
<td class="tl">会员升级</td>
<td class="tr">&nbsp;<a href="grade.php"><span class="f_red">立即升级</span></a></td>
</tr>
{/if}
</table>
{template 'footer', $module}